<?php 
session_start();
$userid=null;
if (isset($_SESSION["userid"])==false || $_SESSION["userid"]==null) {
	header("Location: index.php");
	exit;
} else {
	$userid = $_SESSION["userid"];
}
$indexTour = $_GET["indexTour"];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>but - build your trip</title>

<script type="text/javascript" src="./js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="./js/jquery-ui-1.7.2.custom.min.js"></script>

<link href="./css/cupertino/jquery-ui-1.7.2.custom2.css" rel="stylesheet" type="text/css" />

<style type="text/css">
	* {
		font-family: "Arial";
		font-size: 11px;
	}
	body { margin: 0em; padding: 0em;}
	/*   Tour Information and Detail */
	.TourInformationField {
		width: 70px;
		color: #03426A;
		border-right: 3px solid #24587A;
		text-align: right;
	}
	input, select, textarea
	{
    Border:1px solid #24587A;
    Padding : 1px;
    Margin : 1px;
    Background-color : transparent;
    color:#3E97D1;
	}
	.TourDetailDayLabel {
		color: #03426A;
		text-align:right;
		border-right: 3px solid #24587A;
	}
	.TourDetailDayLabelNone {
	border-right: 1px dotted #65A6D1;
	}
	.TourDetailDayHead {
	color: #03426A;
	}	
	.TourDetailProgramIcon {
	width:14px;
	height:14px;
	border:0; 
	vertical-align: middle;
	}
	
	/*  Form Border   */
	#MainTabArea input, #MainTabArea select, #MainTabArea textarea {
	border: 0;
	}
</style>


</head>
<body>
<!--Main Area ----------------------------------------------------------------------------  -->
<div id="MainTitle" class="MainTitle" style="height: 30px;">

</div>
<div id="MainTabAreaDiv">
<br /><br />
<p align="center"><img src="./img/icon/loading29.gif" /></p>
</div>
<!--Main Area ----------------------------------------------------------------------------  -->	
<script type="text/javascript">
	$(function() {
	data = <?php echo $indexTour; ?>;
	    //Load title
		$.post("main_load_title.php", {
			indexTour: data
		},
		function(data2){
			$("#MainTitle").html(data2);
		}
		);//end

		//Load tab and form
		$.post("main_load_tabs.php", {
			indexTour : data
		},
		function(data3){

			$("#MainTabAreaDiv").html(data3);
			$('.myDatePicker_tour').datepicker({
				numberOfMonths: 2,
				showButtonPanel: true
			});
		}
		);//End
		$('.myDatePicker_tour').datepicker({
			numberOfMonths: 2,
			showButtonPanel: true
		});
	});

</script>
</body>
</html>

